package com.ruoyi.project.channel.businessCaptialSetting.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * business_capital_setting表 business_captial_setting
 * 
 * @author CAIN
 * @date 2019-09-29
 */
public class BusinessCaptialSetting extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** id */
	private Long capitalId;
	/** 最小金额 */
	private BigDecimal minAmount;
	/** 最大金额 */
	private BigDecimal maxAmount;
	/** 单笔手续费 */
	private BigDecimal rate;
	/** 商户id */
	private Long businessId;

	public void setCapitalId(Long capitalId) 
	{
		this.capitalId = capitalId;
	}

	public Long getCapitalId() 
	{
		return capitalId;
	}
	public void setMinAmount(BigDecimal minAmount) 
	{
		this.minAmount = minAmount;
	}

	public BigDecimal getMinAmount() 
	{
		return minAmount;
	}
	public void setMaxAmount(BigDecimal maxAmount) 
	{
		this.maxAmount = maxAmount;
	}

	public BigDecimal getMaxAmount() 
	{
		return maxAmount;
	}
	public void setRate(BigDecimal rate) 
	{
		this.rate = rate;
	}

	public BigDecimal getRate() 
	{
		return rate;
	}
	public void setBusinessId(Long businessId) 
	{
		this.businessId = businessId;
	}

	public Long getBusinessId() 
	{
		return businessId;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("capitalId", getCapitalId())
            .append("minAmount", getMinAmount())
            .append("maxAmount", getMaxAmount())
            .append("rate", getRate())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("businessId", getBusinessId())
            .toString();
    }
}
